<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>重置登录密码</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/public.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/rp_head.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/to_style.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/rp_foot.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/phone_check.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/iconFont/iconfont.css">
    <script src="${pageContext.request.contextPath}/static/js/frame/jquery-3.5.1.min.js"></script>
</head>
<body>
<!-- 头部 start-->
<jsp:include page="/public_page/rp_foot.html"></jsp:include>
<!-- 头部 end-->

<!-- 身体 start-->

<div class="container">
    <div class="content">

        <!-- CMS:会员中心cms/console/scene.vm开始:console/scene.vm -->
        <c:if test="${empty sessionScope.fpUser}" var="userEmpty">
            <!-- 用户session超时展示 start-->
            <jsp:include page="/public_page/time_out.jsp"></jsp:include>
            <!-- 用户session超时展示 end-->
        </c:if>


        <%--        如果不为空--%>
        <c:if test="${!userEmpty}">
        <div class="maincenter">

            <ol class="ui-iconfontstep ui-iconfontstep-3">
                <li class="ui-iconfontstep-start  ui-iconfontstep-active ">
                    <em><i class="iconfont icon-lingxing" title="菱形"></i><strong></strong><i class="ui-iconfontstep-stepNum">1</i></em>
                    <span>验证身份</span>
                </li>
                <li class="ui-iconfontstep-press ">
                    <em><i class="iconfont icon-lingxing" title="菱形"></i><strong></strong><i class="ui-iconfontstep-stepNum">2</i></em>
                    <span>重置登录密码</span>
                </li>
                <li class="ui-iconfontstep-end " style="padding-right: 0;">
                    <em><i class="iconfont icon-lingxing" title="菱形"></i><i class="iconfont icon-zhengque ui-iconfontstep-stepNumEnd" title="成功"></i></em>
                    <span>重置成功</span>
                </li>
            </ol>
            <div class="maincenter-box">
                <div class="maincenter-box-tip">
                    <a href="${pageContext.request.contextPath}/user/reset_password.htm" class="fn-right">重新选择验证方式</a>
                    <p class="ui-tiptext ui-tiptext-message">
                        <span class="ui-tiptext-icon"></span>您正在使用 “<span class="strong">邮箱验证</span>” 进行校验。
                    </p>
                </div>

                <div class="ui-container" style="font: 12px/1.5 tahoma,arial,Hiragino Sans GB,\\5B8B体;">
                    <div class="ui-tip-summary ui-tip ui-tip-info" id="J_signIntroWrapper">
                        <span id="signIntroMain"><i class="iconfont icon-tixing" style="color: #00BFFF; font-size: 13px"></i> 邮件已发送至您绑定的邮箱，请查收验证</span>
                    </div>
                    <div class="ui-form">
                        <fieldset id="signFromContainer">
                            <div class="item item-normal">
                                <label>邮箱</label>
                                <span id="email">${sessionScope.fpUser.email}</span>
                            </div>
                            <div class="item item-action">
                                <button class="ui-btn ui-btn-action first-elem" id="send_email">重发邮箱</button>
                            </div>
                        </fieldset>
                    </div>
                </div>

            </div>
        </div>
        </c:if>

    </div>
</div>

<!-- 身体 end-->
<!-- 尾部 start-->

<jsp:include page="/public_page/rp_foot.html"></jsp:include>

<!-- 尾部 end-->
</body>
<script>
    $(function () {
        $("#send_email").click(function () {
            window.location.href="/login/ps_email.htm?email="+$("#email").text();
        });
    })
</script>
</html>
